@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="deptInfoForm">



			<div class="row">
				<div class="col-sm-6 b-r">
					<#input id="pName" name="上级部门" readonly="readonly" hidden="parentId"
						clickFun="DeptInfoDlg.showDeptSelectTree(); return false;"
						style="background-color: #ffffff !important;" underline="true" />


					<#input id="name" name="部门名称" underline="true" />

					<#input id="code" name="部门编号" underline="true" />

					<#input id="sort" name="排序" underline="true" />

					<#select id="type" name="机构类型">
						<option value="1">公司</option>
						<option value="2">部门</option>
						<option value="3">岗位</option>
					</#select>
					   <div class="hr-line-dashed"></div>

					<#input id="remarks" name="备注" underline="true" />
				</div>
				<div class="col-sm-6">
					<#input id="master" name="负责人" underline="true" />

					<#input id="phone" name="电话" underline="true" />

					<#input id="fax" name="传真" underline="true" />

					<#input id="email" name="邮箱" underline="true" />

	
				    <#select id="useable" name="是否启用">
						<option value="1">是</option>
						<option value="0">否</option>
					</#select>
				
                    <div class="hr-line-dashed"></div>
					<#input id="address" name="地址" underline="true" />
					
				
				    
				
				</div>
				
			</div>

			<!-- 父级部门的选择框 -->
			<div id="parentDeptMenu" class="menuContent"
				style="display: none; position: absolute; z-index: 200;">
				<ul id="parentDeptMenuTree" class="ztree tree-box"
					style="width: 245px !important;"></ul>
			</div>

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
		             
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check"
						clickFun="DeptInfoDlg.addSubmit()" />
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
						clickFun="DeptInfoDlg.close()" />
				</div>
			</div>
		</div>

	</div>
</div>
 <script src="/modular/system/dept/dept_info.js"></script>
@}
